import state from '../state'
import * as types from '../mutations'

const getters = {
    
}
//修改state数据
const mutations = {
    [types.LOADING_STATUS](state, blo) {
        state.loading = blo
    }
}

//提交 mutations 方法
const actions = {
    loadingInit: ({commit}, blo) => {
    
        commit(types.LOADING_STATUS, blo)
    }
}

export default { state, getters, mutations, actions}